package com.qingzhuge.member.dto.request;

import com.alibaba.fastjson.annotation.JSONField;
import com.qingzhuge.common.enums.ESexType;
import com.qingzhuge.dto.request.BaseRequestPkLongDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author : zero.xiao
 * @description :
 * @date :2018/5/4 0004 下午 15:45
 * @modified :
 */
@ApiModel("A会员用户")
@Getter
@Setter
public class SysMemberRequestDto extends BaseRequestPkLongDto {
    private static final long serialVersionUID = 3350619221481362216L;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    @JSONField(serialize = false)
    private String password;
    @ApiModelProperty("昵称")
    private String nickname;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("手机号")
    private String mobile;
    @ApiModelProperty("电话号码")
    private String phone;
    @ApiModelProperty("性别")
    private ESexType sex;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("头像")
    private SysMemberAvatarRequestDto avatar;
}
